[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 13 Fn 08  - Disk - Get Drive Parameters (pc,xt286,conv,ps,esdi,scsi)   [B]

   AH = 08h
   DL = drive (bit 7 set for hard disk)

Return: CF set on error
       AH = status (07h) (see AH=01h)
   CF clear if successful
       AH = 00h
       BL = drive type (AT/PS2 floppies only) (see below)
       CH = low eight bits of maximum cylinder number
       CL = maximum sector number (bits 5-0)
        high two bits of maximum cylinder number (bits 7-6)
       DH = maximum head number
       DL = number of drives
       ES:DI -> drive parameter table (floppies only)

Notes: may return successful even though specified drive is greater than the
     number of attached drives of that type (floppy/hard); check DL to
     ensure validity
   for systems predating the IBM AT, this call is only valid for hard
     disks, as it is implemented by the hard disk BIOS rather than the
     ROM BIOS
   Toshiba laptops with HardRAM return DL=02h when called with DL=80h,
     but fail on DL=81h.  The BIOS data at 40h:75h correctly reports 01h.

See Also: AH=06h"Adaptec",AH=15h,INT 1E,INT 41

Values for drive type:
 01h   360K
 02h   1.2M
 03h   720K
 04h   1.44M
 05h   ??? (reportedly an obscure drive type shipped on some IBM machines)
   2.88M on some machines (at least AMI 486 BIOS)
 06h   2.88M

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson